package com.hxk.structuralMode.decorator;

public abstract class DecoratorCake implements Cake{

	protected Cake cake;

	public DecoratorCake(Cake cake) {
		this.cake = cake;
	}
	
	protected abstract void decorator();

	@Override
	public void make() {
		cake.make();
		decorator();
	}
}
